package cn.mavor.day0903;

import java.util.Scanner;

public class inch {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("输入英寸数:");
        float inches = sc.nextFloat();
        float centimeters = inches * 2.54f;
        System.out.println(inches+"英寸等于"+centimeters+"厘米");
    }
}